import { defineStore } from 'pinia'

export const useCounterStore = defineStore(
  'counter',
  {
    state: () => {
      return { count: 1234 }
    },
    actions: {
      increment(num:number) {
        this.count = this.count +num
      },
    },
  }
)
